//
//  YPLoginUserInfo.h
//
//  Created by   on 2019/2/24
//  Copyright (c) 2019 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>



@interface YPLoginUserInfo : NSObject <NSCoding, NSCopying>

//@property (nonatomic, strong) NSString *yue;
//@property (nonatomic, strong) NSString *lastLoginTime;
//@property (nonatomic, assign) double jingpaiNum;
//@property (nonatomic, strong) NSString *regNum;
//@property (nonatomic, strong) NSString *card;
//@property (nonatomic, strong) NSString *nickname;
//@property (nonatomic, strong) NSString *pUid;
//@property (nonatomic, assign) double jingpaiNoviceNum;
//@property (nonatomic, strong) NSString *name;
//@property (nonatomic, strong) NSString *regTime;
//@property (nonatomic, strong) NSString *regIp;
//@property (nonatomic, strong) NSString *bail;
//@property (nonatomic, strong) NSString *loginKey;
//@property (nonatomic, assign) double keyongYue;
//@property (nonatomic, strong) NSString *uid;
//@property (nonatomic, strong) NSString *userType;
//@property (nonatomic, strong) NSString *jifen;
//@property (nonatomic, strong) NSString *mobile;
//@property (nonatomic, strong) NSString *income;
//@property (nonatomic, strong) NSString *headUrl;
//@property (nonatomic, strong) NSString *password;
//@property (nonatomic, strong) NSString *isDongjie;

@property (nonatomic, copy) NSString *bail;
@property (nonatomic, copy) NSString *card;
@property (nonatomic, copy) NSString *head_url;
@property (nonatomic, copy) NSString *idcard_img_down;
@property (nonatomic, copy) NSString *idcard_img_hand;
@property (nonatomic, copy) NSString *idcard_img_up;
@property (nonatomic, copy) NSString *income;
@property (nonatomic, copy) NSString *is_dongjie;
@property (nonatomic, copy) NSString *is_res;
@property (nonatomic, copy) NSString *is_share;
@property (nonatomic, copy) NSString *jifen;
@property (nonatomic, copy) NSString *jingpai_novice_num;
@property (nonatomic, copy) NSString *jingpai_num;
@property (nonatomic, copy) NSString *keyong_bail;
@property (nonatomic, copy) NSString *keyong_yue;
@property (nonatomic, copy) NSString *last_login_time;
@property (nonatomic, copy) NSString *loginKey;
@property (nonatomic, copy) NSString *mobile;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *nickname;
@property (nonatomic, copy) NSString *p_uid;
@property (nonatomic, copy) NSString *password;
@property (nonatomic, copy) NSString *reg_ip;
@property (nonatomic, copy) NSString *reg_num;
@property (nonatomic, copy) NSString *reg_time;
@property (nonatomic, copy) NSString *shop_num_return;
@property (nonatomic, copy) NSString *uid;
@property (nonatomic, copy) NSString *user_guishu;
@property (nonatomic, copy) NSString *user_type;
@property (nonatomic, copy) NSString *yue;
@property (nonatomic, copy) NSString *chuangke_stauts;

+ (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
- (instancetype)initWithDictionary:(NSDictionary *)dict;
- (NSDictionary *)dictionaryRepresentation;


/**
 是否是登录状态

 @return bool
 */
- (BOOL)isLogin;

/**
 是否已经实名认证

 @return bool
 */
- (BOOL)isRealCertify;

/**
 是否可以申请成为创客

 @return YES/NO
 */
- (BOOL)canApply;

/**
 创客文字

 @return title
 */
- (NSString *)applyTitle;
@end
/*
bail = 10000;
card = "";
"head_url" = "http://hxapi.yupinyouxuan.com/asset/images/mo_qq.png";
"idcard_img_down" = "";
"idcard_img_hand" = "";
"idcard_img_up" = "";
income = "40.00";
"is_dongjie" = 2;
"is_res" = 1;
"is_share" = 2;
jifen = 8485;
"jingpai_novice_num" = 4;
"jingpai_num" = 4;
"keyong_bail" = 10000;
"keyong_yue" = "7064.00";
"last_login_time" = "2020-02-01 12:10:59";
loginKey = e60a863fe2220b7c268c6b0b806860ad;
mobile = 18736010120;
name = "";
nickname = "187****0120";
"p_uid" = 1;
password = dbb1c112a931eeb16299d9de1f30161d;
"reg_ip" = "58.39.117.90";
"reg_num" = 59d943;
"reg_time" = "2020-01-30 15:43:40";
"shop_num_return" = 0;
uid = 1405;
"user_guishu" = 0;
"user_type" = 1;
yue = "7064.00";
*/
